﻿class CRIAP.LocalControl.LocalInfo
{
	public var CurrentDir:String = new String("NULL");
	public function LocalInfo(Listener:MovieClip,CallBack)
	{
		//trace("this:"+this);
		Listener.addProperty("LocalInfo", iGetLink, iSetLink);
	}
	public function Launch()
	{
		fscommand("GetLocalInfo");
	}
	private function iGetLink(value)
	{
		CurrentDir=String(value);
		fscommand("warmMe","iGetLink");
	}
	private function iSetLink(value:Object)
	{
		//trace(value);
		fscommand("warmMe","iSetLink");
		CurrentDir=String(value);
	}
	public function GetCurrentDir():String
	{
		//trace(CurrentDir);
		return CurrentDir;
	}
}